package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 uooc_course
 * 
 * @author ruoyi
 * @date 2025-07-06
 */
public class UoocCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程ID */
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 所属专业ID */
    @Excel(name = "所属专业ID")
    private Long deptId;

    /** 主讲教师ID */
    @Excel(name = "主讲教师ID")
    private Long teacherId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String teacherName;

    /** 学分 */
    @Excel(name = "学分")
    private String credit;

    /** 开课学期 */
    @Excel(name = "开课学期")
    private String semester;

    /** 课程代码 */
    @Excel(name = "课程代码")
    private String courseCode;

    /** 选课容量 */
    @Excel(name = "选课容量")
    private Long capacity;

    /** 课程状态（0正常 1停用） */
    @Excel(name = "课程状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    public void setCredit(String credit) 
    {
        this.credit = credit;
    }

    public String getCredit() 
    {
        return credit;
    }

    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }

    public void setCourseCode(String courseCode) 
    {
        this.courseCode = courseCode;
    }

    public String getCourseCode() 
    {
        return courseCode;
    }

    public void setCapacity(Long capacity) 
    {
        this.capacity = capacity;
    }

    public Long getCapacity() 
    {
        return capacity;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("deptId", getDeptId())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("credit", getCredit())
            .append("semester", getSemester())
            .append("courseCode", getCourseCode())
            .append("capacity", getCapacity())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
